package Interfaz;

import javax.swing.JFrame;
import javax.swing.JOptionPane;

public class ConfirmacionEstandar {

	private String mje;
	

	public ConfirmacionEstandar(String mje) {
		this.mje = mje;
	}
	
	public boolean getOpt(){
		return JOptionPane.showConfirmDialog(new JFrame(),mje, "Confirmar",JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION;
	}
	

}